package com.atilim.cargo.model;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table (name="CARGO_CUSTOMER")
public class Customer extends BaseModel {

	private String name;
	private String surname;
	private String tckn;
	private String phone;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public String getTckn() {
		return tckn;
	}
	public void setTckn(String tckn) {
		this.tckn = tckn;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Override
	public String toString (){
		return this.name + " " + this.surname + " [" + this.tckn + "]";
	}
	
	
}
